package com.lazycat.backend.service.impl.shop;

import com.lazycat.backend.mapper.GoodMapper;
import com.lazycat.backend.service.shop.DeleteGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class DeleteGoodServiceImpl implements DeleteGoodService {
    @Autowired
    private GoodMapper goodMapper;

    @Override
    public void delete(Map<String, Object> hashMap) {
        goodMapper.deleteGood(hashMap);
    }
}
